package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysChatGroupMember;

/**
 * 用户消息标记业务对象 sys_group_member
 *
 * @author Lion Li
 * @date 2025-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysChatGroupMember.class, reverseConvertGenerate = false)
public class SysChatGroupMemberBo extends BaseEntity {

    /**
     * 用户状态ID
     */
    @NotNull(message = "用户状态ID不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 标记人uid
     */
    private Long uid;

    /**
     * 群组ID
     */
    private Long groupId;

    /**
     * 群昵称
     */
    private String nickname;

    /**
     * 群成员类型（1：群主、2：管理员、3：普通成员）
     */
    private Long roleType;

    /**
     * 群备注
     */
    private String remark;

}
